<!-- !Main -->
<div id="main" class="sidebar-right"><!-- class="sidebar-none", class="sidebar-left", class="sidebar-right" -->

    <div class="wf-wrap">
        <div class="wf-container-main">

            <!-- !- Content -->
            <div id="content" role="main" class="content">                    

                <h2>Sitemap</h2>

                <?php foreach($this->cats as $cat): if(!$cat->post_count) continue;?>
                    <div class="gap-10"></div>
                    <div class="hr-thin"></div>
                    <div class="gap-10"></div>
                    <h3><?php echo $cat->name?></h3>
                    <ul class="standard-arrow">
                        <?php foreach($cat->posts(array('condition' => '`status` =  "ENABLE"')) as $post):?>
                        <li><a title="<?php echo $post->titleEncode?>" href="<?php echo $post->url?>"><?php echo $post->title?></a></li>
                        <?php endforeach?>
                    </ul>
                <?php endforeach?>

            </div><!-- #content -->


            <?php $this->renderPartial('//common/sidebar');?>

        </div><!-- .wf-container -->
    </div><!-- .wf-wrap -->
</div><!-- #main -->
